{% extends "crm/base.html" %}

{% load crm_client_tags %}
{% load crm_organisation_tags %}

{% block head_title %}Search CRM{%  endblock %}

{% block body %}
  <h2>Search CRM</h2>

  {% if client_list %}
    <h2>Clients</h2>
    {% list_crm_clients client_list %}
  {% endif %}

  {% if organisation_list %}
    <h2>Organisations</h2>
    {% list_crm_organisations organisation_list %}
  {% endif %}

{% endblock %}
